<?php
/**
 * Created by PhpStorm.
 * User: Dave
 * Date: 2018/6/7
 * Time: 18:22
 */

use Biz\service\SmallEnergy as sSmallEnergy;
use Doraemon\tools\ActionLog;
/**
 * @deprecated
 */
class GetMessageListAction extends ActionPlugin
{
    const USER_LEVEL = self::LEVEL_REGISTER;

    public function main()
    {

        $result = sSmallEnergy::getMessageList($this->uid);
        ActionLog::log($this->uid, [], ActionLog::BIZ_MESSAGE_LIST);
        $this->setSuccess($result);
    }
}